#include<stdio.h>
#include<math.h>
int main()
{
	double a,b,c,disc,x1,x2;
	scanf("%lf,%lf,%lf",&a,&b,&c);
	disc=b*b-4*a*c;
	if(disc>=0)
	{x1=-b+sqrt(disc)/2*a;
	x2=-b-sqrt(disc)/2*a;
	printf("x1=%7.f,x2=%7.f",x1,x2);} 
	
	else
	
	{printf("This equation has not real roots.\n");} 
	return 0;
}
